package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 印章图片集对象 danmo_seal_collection
 * 
 * @author yangle
 * @date 2024-11-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DanmoSealCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 印章图片集id */
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 印章名称 */
    @Excel(name = "印章名称")
    private String name;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 翻转 */
    @Excel(name = "翻转")
    private String flip;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 印章logo */
    @Excel(name = "印章logo")
    private String logo;


    private Integer pageNum = 1;
    private Integer pageSize = 10;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("picture", getPicture())
            .append("name", getName())
            .append("author", getAuthor())
            .append("flip", getFlip())
            .append("userId", getUserId())
            .append("logo", getLogo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
